<extend name="Base:base" />

<block name="script">
<script language="javascript">
var toUrl	= $(".mainmenu a").attr("href");
window.open(toUrl,"_self");
</script>
</block>